Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test RPC server external context cancellation #601

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

homier
Copy link
Contributor

@homier homier commented Jan 10, 2025

No description provided.

Signed-off-by: Dzmitry Mikhalapau <[email protected]>
@homier
Copy link
Contributor Author

homier commented Jan 10, 2025

@lthibault Hi! As promised, here are some simple tests for #595

Signed-off-by: Dzmitry Mikhalapau <[email protected]>
Copy link
Collaborator

@lthibault lthibault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just one small request!

rpc/rpc_test.go Show resolved Hide resolved
@homier
Copy link
Contributor Author

homier commented Jan 12, 2025

@lthibault hm, seems like some tests are flaking. I can't rerun pipeline since I don't have enough permissions, but on my machine everything looks good:

$ for i in `seq 50`; do ./rpc.test; done

PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
PASS
[15:33:13] [cost 128.444s] for i in `seq 50`; do ./rpc.test; done 

@lthibault
Copy link
Collaborator

lthibault commented Jan 13, 2025

Some of these tests occasionally flake out. I'll kick it off again. I don't consider it a blocker, given they're passing locally (just checked on my end as well).

Copy link
Collaborator

@lthibault lthibault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it just needed my magic touch. 😉

Merging !

@lthibault lthibault merged commit 3adab7c into capnproto:main Jan 13, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants